Without seeing any code or truly understanding your problem, you can remove duplicates by using a Set instead of a List.
Without seeing any code or truly understanding your problem, you can remove duplicates by using a Set instead of a List. If your Categories has implemented equals() and hashCode() you can easily remove duplicates by putting everything in a Set before adding it to the list. Set uniqueSet = new HashSet(categoriesCollection); List backToList = new ArrayList(uniqueSet).
The rich:listShuttle control targetValue must be of type java.util. List -- it cannot be an instance of Set. – Dave Jarvis Mar 3 at 19:49 Yes, and if you look at my code you see that I put the set inside a List – Shervin Mar 4 at 12:05.
I was able to successfully fix this issue by changing from to . It accomplished everything I was looking for, and dealt well with the duplicates issue.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.